function saveRealData(data, out_path, type)
    fid = fopen(out_path, "wb", "b");
    data = data.'; % 行优先存储
    if isequal(type, 'int16')
        fwrite(fid, data, "int16");
    elseif isequal(type, 'single')
        fwrite(fid, data, "single");
    elseif isequal(type, 'uint8')
        fwrite(fid, data, "uint8");
    end
    fclose(fid);
end
